﻿<PageFunction
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:sys="clr-namespace:System;assembly=mscorlib" 
    x:Class="DocManagerControls.Controls.NewTaskPageFunc"
    xmlns:Orm="clr-namespace:DocManagerORM.ORM;assembly=DocManagerORM"
    x:TypeArguments="Orm:Iters"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    mc:Ignorable="d" RemoveFromJournal="True" MinHeight="300" MinWidth="300"
    Title="NewTaskPageFunc">
    <Grid>
        <StackPanel>
            <TextBlock Margin="3" FontSize="12" FontWeight="Bold" Foreground="Blue">Dati Iter</TextBlock>
        <StackPanel Orientation="Horizontal">            
            <StackPanel>
                <Label Content="Destinatari"></Label>
                <ListView Name="lstUtenti" Height="300"  Width="150" Margin="2" ScrollViewer.CanContentScroll="True"
                          ScrollViewer.VerticalScrollBarVisibility="Auto"/>
            </StackPanel>
            <StackPanel>
                <StackPanel Orientation="Horizontal" Margin="3">
                    <Label Content="Id Doc." Width="70"/>
                    <TextBox Name="txtIDdoc" Width="80" PreviewTextInput="txtIDdoc_PreviewTextInput"></TextBox>
                    <TextBlock Name="txtFileName" Margin="10,0,0,0" Width="260"></TextBlock> 
                </StackPanel>
                <StackPanel Orientation="Horizontal" Margin="3">
                    <Label Content="Titolo" Width="70"/>
                    <TextBox Name="txtTitolo" Width="350"></TextBox>
                </StackPanel>
                <StackPanel Orientation="Horizontal" Margin="3">
                    <Label Content="Azione" Width="70"/>
                    <ComboBox Name="cmbAttIter" Width="170" Text="Selezionare un'atività"></ComboBox>
                </StackPanel>
                <StackPanel Orientation="Horizontal" Margin="3">
                    <Label Content="Messaggio"  Width="70"/>
                    <TextBox Width="350" Height="100" Name="txtMessaggio" AcceptsReturn="True" MaxLines="7"
                           ScrollViewer.CanContentScroll="True" ScrollViewer.VerticalScrollBarVisibility="Auto" ></TextBox>                    
                </StackPanel>
                <StackPanel Orientation="Horizontal" Margin="3">
                    <Label Content="Scadenza"  Width="70"/>
                    <DatePicker  Height="25" Name="datePicker1" Width="150" />                    
                </StackPanel>
                <StackPanel Orientation="Horizontal" Margin="3">
                    <RadioButton Content="Normale" IsChecked="True" Height="16" Name="radio1" GroupName="Urgenza" Margin="3"/>
                    <RadioButton Content="Urgente" Height="16" Name="radio2" GroupName="Urgenza" Margin="3" />
                    <RadioButton Content="Urgentissimo" Height="16" Name="radio3" GroupName="Urgenza"  Margin="3"/>
                </StackPanel>
                <StackPanel Orientation="Horizontal" Margin="0,20,0,0" HorizontalAlignment="Center">
                    <Button Name="btnOk" Content="Ok" Margin="5" Width="60" Click="btnOk_Click" ></Button>
                    <Button Name="btnCancel" Content="Annulla" Margin="5" Width="60" Click="btnCancel_Click"></Button>
                </StackPanel>
                
            </StackPanel>
        </StackPanel>
        </StackPanel>
    </Grid>
</PageFunction>
